<?php
	header("Content-Type: text/html; charset=UTF-8");

	function __autoload($class_name) {
		include "classes/".$class_name.".class.php";
	}

	$user1 = new User("Vasya", "Vas123", "qwerty");
	$user2 = new User("Petya", "P2000", "qwerty");
	$user3 = new User("John", "Wow2", "qwerty");
	$user4 = clone $user3;

	$user = new SuperUser("Super User", "SU", "123", "Admin");


	$user1->show_info();
	$user2->show_info();
	$user3->show_info();
	$user4->show_info();

	$user->show_info();
	echo "<pre>";
	print_r($user->getInfo());
	echo "</pre><br />";
	
	echo "Всего обычных пользователей: " . User::$userCount . "<br />";
	echo "Всего супер-пльзователей: " . SuperUser::$superUserCount . "<br />";

?>